package jwj8508.oop;

public class J31_Retangle{

	public static void main(String[] args) {		

		J31_RetangleVO rvo = new J31_RetangleVO(4, 40, "red");
		J31_RetangleInterface rsvc = new J31_RetangleService();		
		System.out.println(rsvc.getArea(rvo));
		System.out.println(rsvc.getPerimeter(rvo));
		
		rvo = new J31_RetangleVO(3.5F, 35.9F, "orange");
		System.out.println(rsvc.getArea(rvo));
		System.out.println(rsvc.getPerimeter(rvo));
		
	}

}
